<template>
  <div class="bank-table">
    <el-table :data="data" style="width: 100%">
      <el-table-column prop="company" label="公司名称" width="230"></el-table-column>
      <el-table-column prop="name" label="职位名称"></el-table-column>
      <el-table-column label="自荐奖金">
        <template slot-scope="scope">
          <span style="color:#f15c18">{{scope.row.money}}</span>
        </template>
      </el-table-column>
      <el-table-column prop="time" label="入职成功时间" width="150"></el-table-column>
      <el-table-column prop="bzq" label="保证期" width="80"></el-table-column>
      <el-table-column prop="sta" label="奖金状态" width="130">
        <template slot-scope="scope">
          <span v-if="scope.row.sta == 0" style="color:#f09338">待发放</span>
          <span v-else-if="scope.row.sta == 1" style="color:#409667">已发放</span>
          <span v-else style="color:#dd3a31">未过保已离职</span>
        </template>
      </el-table-column>
      <el-table-column>
        <template>
          <img src="../../assets/img/chip.png" alt width="28px" style="cursor: pointer;">
        </template>
      </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
  props: ['data'],
  data() {
    return {}
  },
  components: {}
}
</script>

<style lang="scss" scoped>
</style>
